<?php
header('Content-Type:text/html;charset=utf8');
require 'CacheDemo.php';
$cacheDemo = new CacheDemo();
$data = [
    'id' => 1,
    'name' => '东富有余11111'
];
//$cacheDemo->set('UserCache2',$data);
//$cacheDemo->del('UserCache2');

//print_r($cacheDemo->get('UserCache'));
//print_r($cacheDemo->get('UserCache2'));

$cacheDemo->delAll();

echo $cacheDemo->has('UserCache');
